package com.ruoyi.business.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.business.mapper.EquipmentparameterMapper;
import com.ruoyi.business.domain.Equipmentparameter;
import com.ruoyi.business.service.IEquipmentparameterService;

/**
 * 设备参数Service业务层处理
 * 
 * @author DL
 * @date 2025-06-30
 */
@Service
public class EquipmentparameterServiceImpl implements IEquipmentparameterService 
{
    @Autowired
    private EquipmentparameterMapper equipmentparameterMapper;

    /**
     * 查询设备参数
     * 
     * @param EquipmentID 设备参数主键
     * @return 设备参数
     */
    @Override
    public Equipmentparameter selectEquipmentparameterByEquipmentID(String EquipmentID)
    {
        return equipmentparameterMapper.selectEquipmentparameterByEquipmentID(EquipmentID);
    }

    /**
     * 查询设备参数列表
     * 
     * @param equipmentparameter 设备参数
     * @return 设备参数
     */
    @Override
    public List<Equipmentparameter> selectEquipmentparameterList(Equipmentparameter equipmentparameter)
    {
        return equipmentparameterMapper.selectEquipmentparameterList(equipmentparameter);
    }

    /**
     * 新增设备参数
     * 
     * @param equipmentparameter 设备参数
     * @return 结果
     */
    @Override
    public int insertEquipmentparameter(Equipmentparameter equipmentparameter)
    {
        return equipmentparameterMapper.insertEquipmentparameter(equipmentparameter);
    }

    /**
     * 修改设备参数
     * 
     * @param equipmentparameter 设备参数
     * @return 结果
     */
    @Override
    public int updateEquipmentparameter(Equipmentparameter equipmentparameter)
    {
        return equipmentparameterMapper.updateEquipmentparameter(equipmentparameter);
    }

    /**
     * 批量删除设备参数
     * 
     * @param EquipmentIDs 需要删除的设备参数主键
     * @return 结果
     */
    @Override
    public int deleteEquipmentparameterByEquipmentIDs(String[] EquipmentIDs)
    {
        return equipmentparameterMapper.deleteEquipmentparameterByEquipmentIDs(EquipmentIDs);
    }

    /**
     * 删除设备参数信息
     * 
     * @param EquipmentID 设备参数主键
     * @return 结果
     */
    @Override
    public int deleteEquipmentparameterByEquipmentID(String EquipmentID)
    {
        return equipmentparameterMapper.deleteEquipmentparameterByEquipmentID(EquipmentID);
    }
}
